const { defineConfig } = require('@vue/cli-service')


module.exports = defineConfig({
  transpileDependencies: true,
  lintOnSave: false,
  devServer:{
    proxy:{
      '/api':{
        target:'http://localhost:18080',
        changeOrigin:true, //开启跨域
        pathRewrite:{
          ['^/api']:''
        }
      }
    }
  }
})
